From: Richard M. Stallman Date: Mon, 14 Jun 1993 03:49:04 +0000 (+0000) Subject: (Fset_visited_file_modtime): Don't give the handler X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95339 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=caf3c43175f63f39725ee4df97755b2727fb1159;p=emacs.git (Fset_visited_file_modtime): Don't give the handler the filename as an argument. --- diff --git a/src/fileio.c b/src/fileio.c index 68ad2790969..e3a2cc9f2bb 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2910,7 +2910,8 @@ An argument specifies the modification time value to use\n\ call the corresponding file handler. */ handler = Ffind_file_name_handler (filename); if (!NILP (handler)) - return call3 (handler, Qset_visited_file_modtime, filename, Qnil); + /* The handler can find the file name the same way we did. */ + return call3 (handler, Qset_visited_file_modtime, Qnil); else if (stat (XSTRING (filename)->data, &st) >= 0) current_buffer->modtime = st.st_mtime; }